package com.xsh.gls.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Depot {
    private Integer id;

    private Integer dPersonid;

    private String depotname;

    private String depotarea;

    private BigDecimal dSize;

    private String dAddress;

    private String dPhone;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date dCreatedate;

    private Integer dCreateno;

    private String dname;

    private List<User> unames;

    public List<User> getUnames() {
        return unames;
    }

    public void setUnames(List<User> unames) {
        this.unames = unames;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getdPersonid() {
        return dPersonid;
    }

    public void setdPersonid(Integer dPersonid) {
        this.dPersonid = dPersonid;
    }

    public String getDepotname() {
        return depotname;
    }

    public void setDepotname(String depotname) {
        this.depotname = depotname;
    }

    public String getDepotarea() {
        return depotarea;
    }

    public void setDepotarea(String depotarea) {
        this.depotarea = depotarea;
    }

    public BigDecimal getdSize() {
        return dSize;
    }

    public void setdSize(BigDecimal dSize) {
        this.dSize = dSize;
    }

    public String getdAddress() {
        return dAddress;
    }

    public void setdAddress(String dAddress) {
        this.dAddress = dAddress;
    }

    public String getdPhone() {
        return dPhone;
    }

    public void setdPhone(String dPhone) {
        this.dPhone = dPhone;
    }

    public Date getdCreatedate() {
        return dCreatedate;
    }

    public void setdCreatedate(Date dCreatedate) {
        this.dCreatedate = dCreatedate;
    }

    public Integer getdCreateno() {
        return dCreateno;
    }

    public void setdCreateno(Integer dCreateno) {
        this.dCreateno = dCreateno;
    }
}